ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Kornev <andrewkor...@hotmail.com>
Subject Re: Indexing collection fields
Date Fri, 15 Sep 2017 03:21:37 GMT
Hey Val! Thanks for your reply!

Unfortunately, I didn't quite get it what you're suggesting. Could you please explain how
it can be done given this cache value class?

class Pojo {
    long id;
    Collection<String> stringCollection;
    Collection<Integer> intCollection;
}

Thanks again!
Andrey

________________________________
From: vkulichenko <valentin.kulichenko@gmail.com>
Sent: Thursday, September 14, 2017 4:45 PM
To: user@ignite.apache.org
Subject: Re: Indexing collection fields

Hi Andrey,

No, you can't index data that is inside a collection. To achieve that, you
should create a separate entry for each element of this transaction and save
them in a cache separately.

-Val



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

Mime
View raw message