Hello!

You can use BinaryObjectBuilder:
https://apacheignite.readme.io/docs/binary-marshaller#section-modifying-binary-objects-using-binaryobjectbuilder

However, each variation of its composition is stored in schema cache, which
means you should not have too many of those.

It is recommended to use Map to store all variable/non-essential fields if
you have a lot of them.

Regards,
-- 
Ilya Kasnacheev


пт, 15 нояб. 2019 г. в 16:08, Manan Joshi <manan.jo...@izenda.com>:

> I would like to store any time of object into cache as IBinaryobject, so i
> can store cache stored in loosely bind with object. I am working with
> Ignite .Net. Can someone please suggest something.
>
> I need something like
>
> MyObject obj = new MyObject();
>
>  obj.setFieldA("A");
>  obj.setFieldB(123);
>
>  BinaryObject binaryObj = Ignition.ignite().binary().toBinary(obj);
>
>
> Thanks
> Manan Joshi
>

Reply via email to