Thanks a lot for the wonderful development on Ignite. I am wondering if there
is any plan to support Scala Collection (e.g. Vector) as key? 

There is support for common Java Collection, see here:
https://github.com/apache/ignite/blob/d4ae653d8018e88847425111321e653bd558a973/modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryContext.java#L320

Scala List seems working fine for me (did not thoroughly test it), but not
vector. A simple demo here:

val bin = ignite().binary()
val k1 = Vector(“1”, “2”)
val k2 = Vector(“1”) ++ Vector(“2”)
k1 == k2 // true
binary.toBinary(k1) == binary.toBinary(k2) // false


Thanks!




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to