Re: ScanQuery With BinaryObject

2017-04-07 Thread David Li
ot;, >> "")); >> cache.put(4L, new Organization(4L, "org4", false, "woodlands", >> "")); >> cache.put(5L, new Organization(5L, "org5", false, "changi", "")); >&g

Re: ScanQuery With BinaryObject

2017-04-05 Thread Andrey Mashenkov
> > > > Note that this actually doesn't matter if the class is >> available >> >> on >> >> > > > > server's local classpath. In this case it will be always used >> >> > > regardless >> >> > > > of >

Re: ScanQuery With BinaryObject

2017-04-03 Thread Andrey Mashenkov
, true, "jurong west", > "")); > cache.put(4L, new Organization(4L, "org4", false, "woodlands", > "")); > cache.put(5L, new Organization(5L, "org5", false, "changi", "")); > // cache.put

Re: ScanQuery With BinaryObject

2017-04-03 Thread David Li
t;)); cache.put(5L, new Organization(5L, "org5", false, "changi", "")); // cache.put(6L, new Organization(6L, "org6", true, "jurong island", "")); IgniteCache<Long, BinaryObject> binaryCache = cache.wi

Re: ScanQuery With BinaryObject

2017-04-03 Thread David Li
"changi", ""));cache.put(6L, new Organization(6L, "org6", true, "jurong island", "")); IgniteCache<Long, BinaryObject> binaryCache = cache.withKeepBinary(); List<Cache.Entry<Long, BinaryObject>> result; S

Re: ScanQuery With BinaryObject

2017-03-31 Thread Andrey Mashenkov
;> I've run your code and it works fine for me on ignite 1.7-1.9 versions >> and master branch. >> >> On Thu, Mar 30, 2017 at 12:19 PM, David Li <david.li...@gmail.com> wrote: >> >>> Hello, >>> >>> I am having a little issue with

Re: ScanQuery With BinaryObject

2017-03-31 Thread David Li
;> >> // scan query >> IgniteBiPredicate<Long, BinaryObject> filter = new IgniteBiPredicate<Long, >> BinaryObject>() { >> @Override >> public boolean apply(Long key, BinaryObject value) { >> return false; >> } >> }; >

Re: ScanQuery With BinaryObject

2017-03-30 Thread Andrey Mashenkov
Hi David, I've run your code and it works fine for me on ignite 1.7-1.9 versions and master branch. On Thu, Mar 30, 2017 at 12:19 PM, David Li <david.li...@gmail.com> wrote: > Hello, > > I am having a little issue with the ScanQuery for BinaryObject. > > Some code snippets

ScanQuery With BinaryObject

2017-03-30 Thread David Li
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<Lon