Forum,

I have been reviewing the examples that come with Apache Ignite 1.5 and have
the following question:

Given the excerpt (ie; adapted from 'CachePutGetExample'), 
I notice that without the  'cfg.setIndexedTypes(Integer.class,
String.class);' call, 
Ignite will NOT create 'String' table within H2 console as shown.

Screenshot:
<http://apache-ignite-users.70518.x6.nabble.com/file/n8847/CachePutGetExample_H2_Console.png>
 


Code Snippet:
    
                 CacheConfiguration<Integer, String>  cfg = new
CacheConfiguration();
                 cfg.setIndexedTypes(Integer.class, String.class);

                 //CACHE_NAME='CachePutGetExample'
                 cfg.setName(CACHE_NAME);
                 cfg.setBackups(1);
                
                  IgniteCache<Integer, String> cache =
ignite.getOrCreateCache(cfg);
                                  
                // Individual puts and gets.
              putGet(cache);

              :
Is in memory data still stored in H2 when 'CacheConfiguratio.setIndexTypes'
is NOT called?  Please explain
the correlation.. Where it is stored?

Please advise.

Regards,
techbysample

       



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Inspecting-a-local-Apache-Ignite-Cache-with-h2-Console-tp8847.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to