This works, I could query the data. If we dont have POJOs and use binary objects to read and write, how can make rest API work. If I understand correctly, Java classes should be on classpath of the ignite node to work rest API. How can we make rest API work??
Also, instead of reading field by field from the binary object, can we get the whole object Which one works better, Having POJOs for each table or with binary object to store and write from the performance point of you. Thanks Naveen On 28-Dec-2017 6:45 PM, "slava.koptilin" <slava.kopti...@gmail.com> wrote: Hello Naveen, It seems, you need to use BinaryObject for that BinaryObjectBuilder builder = ignite.binary().builder("com.ril.edif.cityKey"); builder.setField("city_id", new Long(1)); BinaryObject keyValue = builder.build(); IgniteCache<BinaryObject, BinaryObject> cache = ignite.cache("city_details").withKeepBinary(); BinaryObject po = cache.get(builder.build()); Thanks! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/