Hi Shabir,

In DAS 3.0.0 and DAS 3.0.1, sorting is not supported. You will have to sort
the data at the client side. Currently I am implementing a sorting
functionality on top of lucene indexing mechanism. Once thats implemented,
records can be retrieved sorted by indexed fields.

On Tuesday, March 1, 2016, Shabir Mohamed <[email protected]> wrote:

> Hi All,
>
> In the process of creating analytics gadgets for the IoT/EMM Server, I
> have a need to fetch data from DAS filtered by some query parameters (ex:
> deviceId, owner).
>
> In addition, I also have a need to sort the retrieved data based on a
> specific attribute of the event-stream. As of what I had tried so far I
> could not find any APIs provided at the DAS end to directly allow this
> capability. Hence, I have taken to doing the sorting of the retrieved data
> at my end.
>
> Is there any mechanism to achieve this from DAS itself, which I might have
> missed?
>
> Regards
> -------------------------------------
> *Shabir Mohamed*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> Email: [email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>
> Mobile: +94 77 3516019 | +94 71 6583393
>


-- 
Gimantha Bandara
Software Engineer
WSO2. Inc : http://wso2.com
Mobile : +94714961919
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to