Re: how to create Index for binary or byte type value

2018-01-19 Thread vkulichenko
Rajesh, Whether you work with POJOs or with BinaryObject API, data is stored in the same binary format which allows to get field values without deserialization. Therefore indexing on binary data is possible. Please go through the documentation page I provided earlier, it gives more detailed descri

Re: how to create Index for binary or byte type value

2018-01-18 Thread Rajesh Kishore
Hi Val, Would indices be possible on binary data value , I dont think so. I think I will stick with the POJO for now. I have queries on indices and l am not relying on external persistence system. a) What are the different indices type Ignite supports apart from equality i.e does it support the

Re: how to create Index for binary or byte type value

2018-01-18 Thread vkulichenko
Rajesh, This actually sounds exactly like binary format Ignite uses to store the data: https://apacheignite.readme.io/docs/binary-marshaller Doing this manually (i.e. explicitly saving some byte array and creating indexes over this array) would not be possible, but I don't think you really need i

Re: how to create Index for binary or byte type value

2018-01-18 Thread Rajesh Kishore
Yes, correct object is stored as byte array As my attribute name is not fixed. I want to have index on different attributes which is not directly visible as the pojo instance variable Rajesh On 19 Jan 2018 3:56 a.m., "vkulichenko" wrote: > Hi Rajesh, > > It's not clear what you're trying to ach

Re: how to create Index for binary or byte type value

2018-01-18 Thread vkulichenko
Hi Rajesh, It's not clear what you're trying to achieve. So are you going to store the attributes as a map or in serialized form as a byte array? And what exactly should be indexed? -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

how to create Index for binary or byte type value

2018-01-18 Thread Rajesh Kishore
Hi All, The problem statement is in context of "In-Memory Data Grid" persistence enabled. I have requirement/limitation to store the value of a class's object as byte [] , understood by the application in certain format. IgniteCache cache = ignite.getOrCreateCache(cacheCfg); // here ke