dharamthacker wrote
> But that's what I want to avoid [Each time DB query].

I meant that you go to the DB only if the data is not in the cache (was not
cached yet or was already evicted). If it's already there, you just use
IgniteCache.get().

dharamthacker wrote
> But I don't want to have predefined POJO to store it into cache. I should
> be able to add dynamic query each resulting into separate map in
> distributed cache.

Ignite stores all the data in binary format which already supports dynamic
schema changes. It also provides the builder for binary objects which you
can use in case you don't have classes. See this page for details:
https://apacheignite.readme.io/docs/binary-marshaller

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Pre-calculated-JOIN-queries-as-map-in-ignite-tp5294p5325.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to