Hi Mohanadarshan,
Thanks for the info, yes i have to go with the custom window.

On Wed, Oct 15, 2014 at 6:03 PM, Mohanadarshan Vivekanandalingam <
[email protected]> wrote:

>
>
> On Wed, Oct 15, 2014 at 5:52 PM, Shashika Karunatilaka <[email protected]
> > wrote:
>
>> Hi,
>>
>
> Hi Shashika,
>
>
>>
>>
> I'm in the process of creating siddhi custom function, its like an
>> aggregate function which inputs a set of data returns a single value.
>> Is there a way  i can send data array to my custom function or else can i
>> handle that inside my custom function?
>> As an example there is a stream called "A", stream "A" has attribute
>> called "bookID", i need to pass all the bookID's in that stream to the
>> aggregate function and return a single value.
>>
>>
> Based on my understanding, i don't believe siddhi function is appropriate
> for your usecase.. You may need to use transform processor or window..
>
> Thanks,
> Mohan
>
>
>
>> Thank you.
>>
>> --
>> Shashika Prabath Karunatilaka,
>> Software Engineer,
>> WSO2, Inc: http://wso2.com/
>> mobile : +94 77 7487792
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *V. Mohanadarshan*
> *Software Engineer,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com <http://wso2.com> *
> *lean.enterprise.middleware.*
>
> email: [email protected]
> phone:(+94) 771117673
>



-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to