Re: Can not create Affinity Key

2018-04-18 Thread Fff
Ilya, Thanks a lot for your help. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Can not create Affinity Key

2018-03-14 Thread ilya.kasnacheev
Hello again! Also, I think, to use SQL you will need to declare either QueryEntities or Indexed Types, as in cacheConfig.setIndexedTypes(VisitorKey.class, Test.class) <-- Key, Value Regards, -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Can not create Affinity Key

2018-03-14 Thread ilya.kasnacheev
Hello! You should map VisitorKey's fields with @QuerySqlField too, after which you will notice the problem that you're having same fields in both key type and value type. As far as my understanding goes, fields should not repeat in key type and value type. Some fields may go to one class or the

Can not create Affinity Key

2018-03-14 Thread Fff
Hi, I have a problem to create proper Affinity Key. I have numerous events per visitor in my cache, so my goal is to set VisitorId to be my affinity key, which is defined as composite key in the VisitorKey class and later on pass to the cacheConfiguration as cache Key. Cache is created, however