I want to transfer data from MySQL to ignite. 
First I use script ignite-schema-import.sh to generate Java domain model
POJOs, 

then add "@QuerySqlField" annotations to the field that needed to be indexed
in the POJO and use ”CacheConfiguration.setIndexedTypes(MyKey.class,
MyValue.class)“ to tell Ignite which types should be indexed.

Finally, I fill the fields of the POJO and put it to the Ignite.

But when I use "ignitevisorcmd" to view the Ignite, only finding ”Query
Indexed Types                   <n/a>“, it seems that INDEX does not work.

I want to know how to make INDEX work.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-to-configure-INDEX-from-code-tp1671.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to