Hello,
I am having a little issue with the ScanQuery for BinaryObject.
Some code snippets
IgniteCache<Long, Organization> cache = ignite.cache(CacheConfig.CACHE_NAME);
IgniteCache<Long, BinaryObject> binaryCache = cache.withKeepBinary();
// scan query
IgniteBiPredicate<Long, BinaryObject> filter = new
IgniteBiPredicate<Long, BinaryObject>() {
@Override
public boolean apply(Long key, BinaryObject value) {
return false;
}
};
ScanQuery<Long, BinaryObject> scanQuery = new ScanQuery<>(filter);
List<Cache.Entry<Long, BinaryObject>> result =
binaryCache.query(scanQuery).getAll();
I expect it will return an empty result, somehow it always returns
everything in the cache.
Not sure what is wrong?
BRs,
David