Hi, 1. I didn't mean you should implement your own marshaller, but convert ProtobufObjects and use igniteCache.withKeepBinary() to put\get BinaryObjects into\from cache.
2. This will allow you to use SQL. But, yes, it give no benefits for SCAN queries. On Tue, Mar 20, 2018 at 8:28 PM, au.fp2018 <[email protected]> wrote: > Hi Andrew, > > 1. I did try to implement a BinaryMarshaller for Protobuf, but the problem > I > ran into there was the signature of the readBinary method: > > public void readBinary(Object obj, BinaryReader reader) throws > BinaryObjectException; > > Since protobuf objects are immutable, I am unable to update the passed in > object (obj) after reading the fields from the BinaryReader. > > 2. If I did that would the SCAN queries benefit from them? I didn't think > they would. > > Thanks, > AU > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ > -- Best regards, Andrey V. Mashenkov
