On Mon, May 30, 2016 at 2:08 PM, Yashothara Shanmugarajah < [email protected]> wrote:
> ​Hi All, > > I have planned to develop Custom Window CEP extension for Unique window > with specifying length and time parameter for this. Already siddhi > extension has feature for getting the latest events that are unique > according to the unique attribute. It has only one parameter *'attribute*: > The attribute that should be checked for uniqueness'.For example we can > specify like this. > ​*​* > > > * <event> unique (<string>attribute)* > But now my task is add two parameters time and length *<event> unique > (<string>attribute, length) and **<event> unique (<string>attribute, > time). *So the output should be the unique events within the given time > window or length window according to the unique attribute value. So there > should be two classes extending WindowProcessor. > > Please let me know if you have any suggestions on this. > Yes, here you have to write two window extensions (UniqueLength window and UniqueTime window).. Please refer latest Siddhi window implementations for more information.. Thanks, Mohan > > Thanks. > Best Regards, > Yashothara.S > > Software Engineer > WSO2 > > -- *V. Mohanadarshan* *Senior Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com <http://wso2.com> * *lean.enterprise.middleware.* email: [email protected] phone:(+94) 771117673
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
