Binary objects and cache store

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Binary objects and cache store

dmagda
Cross-posting to the dev list.

Igniters, what if we make “storeKeepBinary” = true by default in Ignite 2.0? Presently, the user has to tweak the configuration manually.


Denis

> On Feb 7, 2017, at 10:30 PM, shawn.du <[hidden email]> wrote:
>
> get it.
>
> storeKeepBinary flag will help.
>
> Thanks
> Shawn
>
> On 02/8/2017 13:58,shawn.du<[hidden email]> <mailto:[hidden email]> wrote:
> Hi,
>
> I want to persist some data in binary, for I put cache in BinaryObject format like this:
>
> BinaryObjectBuilder builder = ignite.binary().builder(typeName);
> cache.put(key,builder.build());
>
> how can I get or create BinaryMarshaller instance?
>
> Thanks
> Shawn

Reply | Threaded
Open this post in threaded view
|

Re: Binary objects and cache store

Valentin Kulichenko
+1

-Val

On Wed, Feb 8, 2017 at 4:57 PM, Denis Magda <[hidden email]> wrote:

> Cross-posting to the dev list.
>
> Igniters, what if we make “storeKeepBinary” = true by default in Ignite
> 2.0? Presently, the user has to tweak the configuration manually.
>
> —
> Denis
>
> On Feb 7, 2017, at 10:30 PM, shawn.du <[hidden email]> wrote:
>
> get it.
>
> storeKeepBinary flag will help.
>
> Thanks
> Shawn
>
> On 02/8/2017 13:58,shawn.du<[hidden email]>
> <[hidden email]> wrote:
>
> Hi,
>
> I want to persist some data in binary, for I put cache in BinaryObject
> format like this:
>
> BinaryObjectBuilder builder = ignite.binary().builder(typeName);
> cache.put(key,builder.build());
>
> how can I get or create BinaryMarshaller instance?
>
> Thanks
> Shawn
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Binary objects and cache store

dsetrakyan
In reply to this post by dmagda
On Wed, Feb 8, 2017 at 4:57 PM, Denis Magda <[hidden email]> wrote:

> Cross-posting to the dev list.
>
> Igniters, what if we make “storeKeepBinary” = true by default in Ignite
> 2.0? Presently, the user has to tweak the configuration manually.
>
>
Makes sense to me.