Thanks a lot.
I tried to create CustomIgniteBiPredicate, but inside the method "apply"
List<Foo> list is always empty.

*Example with an empty list in filter predicate:*
public boolean apply(Integer key, List<Foo> list) {
   // Here the list is always empty
    for (Foo item: list) {
        if (item.id == 2)
            return true;
        }
    return false;
}

*But actually the cache contains data:*
iCache.iterator().forEachRemaining(data -> {
        List<IEntity> list = data.getValue(); // Here I have fetched list
    }
});





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

Reply via email to