Hi Kamal,

IgniteDataStreamer is one of two ways to bulk load data into the cache [1].
See [2] for the sample code.

The example you're referring to demonstrates the approach with the
CacheStore implementation. The closure is provided by the cache when
loadCache() is invoked, this is just a callback you have to call it for each
loaded entry. Essentially, it will do all required checks and preparations
and will store the entry in the cache.

[1] https://apacheignite.readme.io/docs/data-loading
[2]
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheDataStreamerExample.java

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/CacheJdbcPersonStore-Example-tp4923p4937.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to