ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Sapego <isap...@gridgain.com>
Subject Re: Host Arrays in C++ API
Date Mon, 28 Mar 2016 15:46:01 GMT
Hi Arthi,

Ignite currently does not support host arrays currently.

Which type of queries do you use?

If you use SqlQuery you can use
QueryCursor::GetAll() method though you cant control number of records
you fetch this way and may run into trouble if your result set is too large.

Best Regards,

On Mon, Mar 28, 2016 at 3:38 PM, arthi <Arthi.Kasturirangan.ap@nielsen.com>

> Hi Ignite Gurus,
> I am currently using ignite to cache data on a cluster, and I have a C++
> client that reads the data from the cache using SQL. The API allows
> execution of the queries in milli secs, but, there is a delay when we loop
> through the results (we are currently looping one by one using getNext()).
> Is there a way I can use something similar to Host Arrays
> https://docs.oracle.com/cd/B10501_01/appdev.920/a97269/pc_08arr.htm#468
> basically, I want to copy the result set into continous memory in one shot
> and use that array for further processing.
> Pls help.
> Thanks,
> Arthi
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Host-Arrays-in-C-API-tp3707.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message