The simplest place is source code [1] [2]:
public static boolean knownMap(Object map) {
Class cls = map == null ? null : map.getClass();
return cls == HashMap.class ||
cls == LinkedHashMap.class ||
(!wrapTrees() && cls == TreeMap.class) ||
c
Thanks for the answer, it works now, as i changed it to arraylist.
Where can i find the supported list implementations?
On Tue, Feb 14, 2023 at 3:23 AM Николай Ижиков wrote:
> Hello.
>
> The trick here is the following line
>
> > car.setInspirations(List.of(new Car(), new Car()));
>
> Ignite se
Thank you for the answer!
Perhaps maybe we should specify the list of collection implementations and
add an example to the documentation? I think it will be helpful.
вт, 14 февр. 2023 г. в 11:24, Николай Ижиков :
> > Thanks for your question! Could you please provide doc references where
> you f
https://ignite.apache.org/docs/latest/key-value-api/binary-objects
-
Maps, collections and arrays of objects (but the objects inside them are
reconverted if they are binary)
On Tue, Feb 14, 2023 at 1:07 AM Mikhail Pochatkin
wrote:
> Hi, Dinakar.
>
> Thanks for your question! Could y
> Thanks for your question! Could you please provide doc references where you
> found that it should be possible?
https://ignite.apache.org/docs/latest/key-value-api/binary-objects#enabling-binary-mode-for-caches
> The following classes are never converted (e.g., the toBinary(Object) method
> r
Hello.
The trick here is the following line
> car.setInspirations(List.of(new Car(), new Car()));
Ignite serialize as a binary collection only *some* implementation of List
interface.
Others serialized using standard java serialization.
I rewrite your code and now it’s working as expected:
``
Hi, Dinakar.
Thanks for your question! Could you please provide doc references where you
found that it should be possible?
вт, 14 февр. 2023 г. в 07:18, Dinakar Devineni :
> Hi,
>
>
>
> Appreciate some help, to understand why is this failing and how to
> correct this.
>
>
>
> Trying to
Hi, Appreciate some help, to understand why is this failing and how to correct this. Trying to read a list of binary objects form a composite data structure Here is the sample code. As per ignite documentation this should be possible. @Getter@SetterPublic class Car implement