Hello! I'm not sure the rest of Ignite community will approve, but you can actually try to write an SQL extension function, which will serve as factory method for MyPojo.
https://apacheignite-sql.readme.io/docs/custom-sql-functions This is used in conjunction with Geometry with some success. It will only use with SqlFielsQuery but not with JDBC or other "thin" API. Please note that you will have to register this function with some schema in some cache confguration. Regards, -- Ilya Kasnacheev чт, 13 февр. 2020 г. в 22:32, Edward Chen <java...@gmail.com>: > Hello, > > I am using Ignite SQL, wondering it is possible to load cache data into > another POJO ? just like ORM, sql like this : > > select new MyPojo(p.name, p.age) from myCacheTable as p where p.age > 30 > > Thanks. Ed > > > >