GridGain join query with both objects returned -
is possible return both objects of join result of gridgain cache query?
we can either 1 of sides of join or fields both (and use these retrieve each object separately), looking @ examples , documentation there seems no way both objects.
thanks!
@dejan- in gridgain , apache ignite, can use _key , _val functionality sqlfieldsquery in order return object. example -
sqlfieldsquery sql = new sqlfieldsquery( "select a._key, a._val, b._val sometypea a, sometypeb b " + "where a.id = b.otherid"); try (querycursor<list<?>> cursor = cache.query(sql) { (list<?> row : cursor) system.out.println("row: " + row); } note in case object returned in serialized form.
Comments
Post a Comment