If it's a temporary table, you should be able to do the sorting within the
spark query.
So no need to worry about sorting at the client side.

On Mon, Feb 29, 2016 at 11:45 PM, 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] <[email protected]>
> Mobile: +94 77 3516019 | +94 71 6583393
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Regards,
UdaraR
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to