<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">It is possible to declare sliding
windows<br>
<br>
A possible problem (I didn't check the logic) is that<br>
you are not inserting the new Events you create.<br>
<br>
<br>
<br>
On 03/17/2014 12:13 PM, Sandhya Sree wrote:<br>
</div>
<blockquote
cite="mid:CAJftt0FDP2tmwoHhieLDfBWJYMxB=pCjCJO+rG=WO8PiovBCtg@mail.gmail.com"
type="cite">
<div dir="ltr">i found this type of declaration in a site and
thought this is allowed..
<div>also it doesnt throw any compilation error and works the
same way as declared like this:</div>
<div><br>
</div>
<div>accumulate( $e :Event (name == "new file added") <b>over
window : time(1m)</b>, count($e)<br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Mar 17, 2014 at 4:23 PM,
Wolfgang Laun <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 17/03/2014, Sandhya Sree <<a
moz-do-not-send="true"
href="mailto:sandhyachinnaraj@gmail.com">sandhyachinnaraj@gmail.com</a>>
wrote:<br>
<br>
> declare window Ticks<br>
> Event()<br>
> over window:time(1m )<br>
> end<br>
<br>
</div>
Is there any documentation snippet that says you can declare
a fact<br>
(not even an event) like this, restricting its existence?<br>
<br>
If not, why does this not cause an compilation error?<br>
<br>
-W<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
</blockquote>
<br>
</body>
</html>