ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: Using different SQL to load cache every time?
Date Fri, 23 Oct 2015 07:57:51 GMT
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 <xeseo@163.com> 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,
>
>
>
>

Mime
View raw message