You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by javadevmtl <ja...@gmail.com> on 2015/10/15 14:46:40 UTC

Single key with multiple values or multi map?

Hi is there a way yo implement single key with multiple values?

Thanks



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Single-key-with-multiple-values-or-multi-map-tp1618.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Single key with multiple values or multi map?

Posted by javadevmtl <ja...@gmail.com>.
Ok thanks



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Single-key-with-multiple-values-or-multi-map-tp1618p1629.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Single key with multiple values or multi map?

Posted by Dmitriy Setrakyan <ds...@apache.org>.
On Thu, Oct 15, 2015 at 5:46 AM, javadevmtl <ja...@gmail.com> wrote:

> Hi is there a way yo implement single key with multiple values?
>

There is a ticket open for MultiMap:
https://issues.apache.org/jira/browse/IGNITE-640

Until we add support for it, you can try storing a List as a value in your
cache.


>
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Single-key-with-multiple-values-or-multi-map-tp1618.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Re: Single key with multiple values or multi map?

Posted by Ivan Veselovskiy <iv...@gridgain.com>.
The cache value is any object. It can be an array, a tuple, your own class
with specific set of fields, or a collection of objects. So, one cache
value can actually contain multiple values.
Do you mean a use case that does not fit into this model?


On Thu, Oct 15, 2015 at 3:46 PM, javadevmtl <ja...@gmail.com> wrote:

> Hi is there a way yo implement single key with multiple values?
>
> Thanks
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Single-key-with-multiple-values-or-multi-map-tp1618.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>