I am following the code for the running SQL queries in the Ignite cache, but am able to fully realize the use of the CacheConfiguration.setIndexedTypes API.
I am following the only help that I could find at the ignite site.
The documentation here says to use CacheConfiguration.setIndexedTypes(MyKey.class, MyValue.class).
Now lets say in the Person class
@QuerySqlField(index = true)
private long id;
@QuerySqlField
private String firstName;
Which are the parameters that I should be passing in the setIndexedType method?