if executing sql "select" clause then no cache key-value operations would be called. Debbuging cache.query(...) leads to org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing#executeSqlQuery which doesnt call cache key-value ops
вт, 18 апр. 2017 г. в 10:49, ALEKSEY KUZNETSOV <alkuznetsov...@gmail.com>: > thanx! ) > > пн, 17 апр. 2017 г. в 21:48, Denis Magda <dma...@apache.org>: > >> Did you have a chance to take a look this documentation that explains how >> DML statements are turned into cache operations? >> https://apacheignite.readme.io/docs/dml#dml-operations < >> https://apacheignite.readme.io/docs/dml#dml-operations> >> >> — >> Denis >> >> > On Apr 17, 2017, at 7:20 AM, ALEKSEY KUZNETSOV < >> alkuznetsov...@gmail.com> wrote: >> > >> > Hi, Igniters! When one fires query like this : ignite().cache(null >> > ).query(...) >> > The query would be executed against the schema. I wonder, how the >> schema is >> > synchronized with cache, with cache entries? >> > >> > What i mean is , cache.query(...update operation...) must eventually >> update >> > the cache entry in cache. But how does it happen?(cache API must be >> called, >> > but i cannot realize how) >> > -- >> > >> > *Best Regards,* >> > >> > *Kuznetsov Aleksey* >> >> -- > > *Best Regards,* > > *Kuznetsov Aleksey* > -- *Best Regards,* *Kuznetsov Aleksey*