The call
setIndexedTypes(Long.class, Person.class)
will search for all `@QuerySqlField` fields in Person and create indexes for
all of them with `index=true`.
For example, if your class looks like this
class Person {
@QuerySqlField(index = true)
private String name;
@QuerySqlField(index = true)
private int age;
}
then the call
setIndexedTypes(Long.class, Person.class)
will create indexes for both `name` and `age`.
Thanks,
Stan
From: Skollur
Sent: 2 октября 2018 г. 16:51
To: [email protected]
Subject: Re: Ignite Query Slow
Documentation has example as ccfg.setIndexedTypes(Long.class, Person.class);.
I believe this is single field. How to register multiple indexes for
CacheConfiguration?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/