ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Scherbakov <alexey.scherbak...@gmail.com>
Subject Re: Working Directly with Binary objects
Date Wed, 25 May 2016 08:31:05 GMT

You can marshall and unmarshall BinaryObject using marshaller like any
other type.
BTW, what are you trying to achieve ?
If you store cache values as byte arrays, you need to deserialize them on
each data access to do something useful.
And how do you conclude "as its a lot core compact" ?

2016-05-24 19:47 GMT+03:00 guill-melo <guilhermejkr@gmail.com>:

> Hello Alexei,
> Thank you very much for the reply, that really helped me.
> Just a quick follow up, how can I create a BinaryObject from a byte[]? I
> playing with a BinaryCacheStore and I want to persist the objects in the
> serialized BinaryObject format,  as its a lot core compact.
> Thanks again.
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Working-Directly-with-Binary-objects-tp5131p5152.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Best regards,
Alexei Scherbakov

View raw message