Hi, I mean, what are differences you wait? This SQL will be equivalent for binary, enough to add
IgniteCache<BinaryObject, BinaryObject> cache_customer = ignite.createCache(ccfg_customer).cache.withKeepBinary(); On Tue, Nov 15, 2016 at 2:44 PM, rishi007bansod <rishi007ban...@gmail.com> wrote: > For example following is cache query I have written on customer > table(without > binary objects) > > CacheConfiguration<Object,Object> ccfg_customer = new > CacheConfiguration<>(); > ccfg_customer.setIndexedTypes(customerKey.class, customer.class); > ccfg_customer.setName("customer_cache"); > IgniteCache<Object, Object> cache_customer = > ignite.createCache(ccfg_customer); > > sql = "SELECT count(c_id) FROM customer WHERE c_w_id = 6"; > sql_query = new SqlFieldsQuery(sql); > res = cache_customer.query(sql_query).getAll(); > > how can I convert this SqlFieldsQuery using binary objects? > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/Sql-Query-on-binary-objects-tp8992p8995.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Vladislav Pyatkov