Actually, I'm trying to implement SQL ACID function. For the top user, they only need to provide the table and sql. Then, in a common interface, I'll make the the adapter to accept the sql and do the real ACID operation on the cache as well as database. Thus, the sql to run from the top user could be different every time.
At 2015-10-23 15:57:51, "Dmitriy Setrakyan" <[email protected]> wrote: I am a bit confused with the question. In the subject it says “load cache”, but in the body it says “query cache”. If the question is about “loading cache", then, as Sergi suggested, you need to implement your own CacheStore. You can take any of the cache stores already provided and adapt them for your needs. More on CacheStore here: https://apacheignite.readme.io/docs/persistent-store If the question is about “querying cache” in memory, then you can create SQL queries dynamically on the fly and execute them over Ignite data grid. More on SQL here: https://apacheignite.readme.io/docs/sql-queries D. On Thu, Oct 22, 2015 at 11:40 PM, Edison <[email protected]> wrote: Hi, Instead of given the SQL in EntryMapping, is it possible to use dynamic SQL to query the cache every time? If yes, how? Thanks,
