ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Mashenkov <andrey.mashen...@gmail.com>
Subject Re: support for Scala Collection as key?
Date Tue, 05 Jun 2018 16:21:49 GMT

Most likely, Scala Vector can't be used as a key as-is due to it's
implementation [1].
I'm not sure, if k1 and k2 scala objects have same internal structure to
Ignite can serialize them to same binary representation.

[1] https://stackoverflow.com/questions/20612729/how-does-scalas-vector-work

On Tue, Jun 5, 2018 at 6:41 PM, haotian.chen <haotian.chen@blackrock.com>

> Got it. I thought IgniteCache converts key to BinaryObject and then
> compares
> them, and therefore gave the example.
> However, if I put key k1 with a value into IgniteCache, and retrieve the
> value using k2, I won't be able to find the entry. Do you know what's the
> process behind this process?
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Best regards,
Andrey V. Mashenkov

View raw message