streamcruncher.test.func.generic
Class PreFilterTriggerTest

java.lang.Object
  extended by streamcruncher.test.func.OrderGenenerator
      extended by streamcruncher.test.func.generic.OrderGeneratorTest
          extended by streamcruncher.test.func.generic.PreFilterTriggerTest

public abstract class PreFilterTriggerTest
extends OrderGeneratorTest

This tests and demonstrates the re-architected Partition clause with Pre-filters, where the Query is triggered only by the filtered Events. The Event Weight specified for the Stream is the Weight of the filtered Events. If the Event weight is 0.1 and there are 10 Events, out of which only 5 make it through the Filter, then the new accumulated-weight of 0.5 will not trigger the Query. Even though the total unfiltered weight is 1.0 (0.1 * 10).

Since:
1.05. Before this, the unfiltered Event would trigger the Query and then get filtered. So, if that Event did not make it through the Filter, the Query would still've got triggered (spurious) and the Latest Rows Window (if any) would've spilled out its contents.

Constructor Summary
PreFilterTriggerTest()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreFilterTriggerTest

public PreFilterTriggerTest()


Copyright © 2006 - 2008 Ashwin Jayaprakash. All Rights Reserved. (Docs generated on 3-November-2007 )