Re: Json support in Ignite

2016-01-14 Thread Andrey Gura
Hi, > > Also we need following functionality for json objects > > > > 1. Possibility to map json cache key to affinity key. This can be > achieved > > with custom affinity mapper: > > > > cache.setAffinityMapper(new AffinityKeyMapper() { > > @Override public Object affinityKey(Object

Re: Json support in Ignite

2016-01-14 Thread Dmitriy Setrakyan
I would consider a case for generating hash-code by iterating through all the fields by default. We need to make sure that the iteration order is the same on both ends. User can always override it, no? D. On Thu, Jan 14, 2016 at 8:10 AM, Andrey Gura wrote: > Hi, > > > > > Also we need followin

Re: Json support in Ignite

2016-01-15 Thread Konstantin Boudnik
One other thing to keep in mind, that JSON data is often not-flattened ie coming with hierarchical structures. In which case, querying it from Ignite would be a non-trivial if at all possible. Cos On Thu, Jan 14, 2016 at 09:09AM, Dmitriy Setrakyan wrote: > I would consider a case for generating h