I have updated the pages accordingly in CEP docs and resolved the JIRA in
[1].

Thanks everyone!

[1] https://wso2.org/jira/browse/DOCUMENTATION-1186

On Mon, Oct 13, 2014 at 6:07 PM, Praneesha Chandrasiri <pranee...@wso2.com>
wrote:

> Hi Lasantha,
>
> Thanks. Will do the needful.
>
> On Mon, Oct 13, 2014 at 5:03 PM, Asok Perera <as...@wso2.com> wrote:
>
>> Hi Tishan/Lasantha,
>>
>> Thank you..!
>> Yes, I followed the queries in the CEP documentation..,
>> I will try the correct query. Thanks again
>>
>> BR
>>
>> *Asok Aravinda Perera*
>> Software Engineer
>> WSO2, Inc.;http://wso2.com/
>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ>
>> lean.enterprise.middleware
>>
>> Mobile: +94722241032
>>
>> On Mon, Oct 13, 2014 at 4:44 PM, Lasantha Fernando <lasan...@wso2.com>
>> wrote:
>>
>>> I think this was probably because there are some old queries in CEP
>>> documentation under "Writing a custom window".
>>>
>>> I've created a doc jira[1] to track this.
>>>
>>> @Praneesha, can you look into this and fix the docs mentioned in the
>>> ticket, please?
>>>
>>> Thanks,
>>> Lasantha
>>>
>>> [1] https://wso2.org/jira/browse/DOCUMENTATION-1186
>>>
>>> On 13 October 2014 16:20, Tishan Dahanayakage <tis...@wso2.com> wrote:
>>>
>>>> Hi Asok,
>>>> Siddhi query you are using is wrong. Correct query is
>>>>
>>>> from topkeventstream#window.custom:topKfrequency("3","1",symbol)
>>>> select symbol
>>>> insert into topkresultstream;
>>>>
>>>> Please refer [1] to learn about Siddhi query language.
>>>> When you want to send data out of the window execute
>>>> nextProcessor.process(event). It will send particular set of events to the
>>>> next execution element of the query(ex: Selector)
>>>>
>>>> [1] https://docs.wso2.com/display/CEP310/Siddhi+Language+Specification
>>>>
>>>> On Mon, Oct 13, 2014 at 3:59 PM, Asok Perera <as...@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I wrote a window extension for Siddhi (implementing Stremlib library)
>>>>> which suppose to be keeping most frequent K events in the window. 
>>>>> According
>>>>> to the logs, the window in functional.
>>>>> Now I need to get the events which are *inside* the window into an
>>>>> output stream.
>>>>> Im using below siddhi query,
>>>>>
>>>>> from topkeventstream#window.custom:topKfrequency("3","1",symbol)
>>>>> insert into topkresultstream symbol
>>>>>
>>>>> , this gives me following error
>>>>> line 2:29 extraneous input 'symbol' expecting EOF
>>>>>
>>>>> Does someone has any idea on this ?
>>>>>
>>>>> BR
>>>>>
>>>>> *Asok Aravinda Perera*
>>>>> Software Engineer
>>>>> WSO2, Inc.;http://wso2.com/
>>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ>
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Mobile: +94722241032
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Tishan Dahanayakage
>>>> Software Engineer
>>>> WSO2, Inc.
>>>> Mobile:+94 716481328
>>>>
>>>> Disclaimer: This communication may contain privileged or other
>>>> confidential information and is intended exclusively for the addressee/s.
>>>> If you are not the intended recipient/s, or believe that you may have
>>>> received this communication in error, please reply to the sender indicating
>>>> that fact and delete the copy you received and in addition, you should not
>>>> print, copy, re-transmit, disseminate, or otherwise use the information
>>>> contained in this communication. Internet communications cannot be
>>>> guaranteed to be timely, secure, error or virus-free. The sender does not
>>>> accept liability for any errors or omissions.
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Lasantha Fernando*
>>> Software Engineer - Data Technologies Team
>>> WSO2 Inc. http://wso2.com
>>>
>>> email: lasan...@wso2.com
>>> mobile: (+94) 71 5247551
>>>
>>
>>
>
>
> --
> Thanks & Best Regards,
> *Praneesha Chandrasiri*
> *Technical Writer*
> *WSO2 Inc. *
> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
> *E-mail: pranee...@wso2.com <pranee...@wso2.com>*
>
>


-- 
Thanks & Best Regards,
*Praneesha Chandrasiri*
*Technical Writer*
*WSO2 Inc. *
*Mobile: +(94) 718156888*
*E-mail: pranee...@wso2.com <pranee...@wso2.com>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to