You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Denis Magda <dm...@apache.org> on 2017/02/09 00:57:41 UTC

Binary objects and cache store

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 <sh...@neulion.com.cn> wrote:
> 
> get it. 
> 
> storeKeepBinary flag will help. 
> 
> Thanks
> Shawn
> 
> On 02/8/2017 13:58,shawn.du<sh...@neulion.com.cn> <ma...@neulion.com.cn> 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


Re: Binary objects and cache store

Posted by Dmitriy Setrakyan <ds...@apache.org>.
On Wed, Feb 8, 2017 at 4:57 PM, Denis Magda <dm...@apache.org> 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.

Re: Binary objects and cache store

Posted by Valentin Kulichenko <va...@gmail.com>.
+1

-Val

On Wed, Feb 8, 2017 at 4:57 PM, Denis Magda <dm...@apache.org> 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 <sh...@neulion.com.cn> wrote:
>
> get it.
>
> storeKeepBinary flag will help.
>
> Thanks
> Shawn
>
> On 02/8/2017 13:58,shawn.du<sh...@neulion.com.cn>
> <sh...@neulion.com.cn> 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
>
>
>

Re: Binary objects and cache store

Posted by Dmitriy Setrakyan <ds...@apache.org>.
On Wed, Feb 8, 2017 at 4:57 PM, Denis Magda <dm...@apache.org> 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.

Re: Binary objects and cache store

Posted by Valentin Kulichenko <va...@gmail.com>.
+1

-Val

On Wed, Feb 8, 2017 at 4:57 PM, Denis Magda <dm...@apache.org> 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 <sh...@neulion.com.cn> wrote:
>
> get it.
>
> storeKeepBinary flag will help.
>
> Thanks
> Shawn
>
> On 02/8/2017 13:58,shawn.du<sh...@neulion.com.cn>
> <sh...@neulion.com.cn> 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
>
>
>