Hi,

I'm testing the new java driver, which gives a nice speed up over the v3 
driver.  I have two questions however that I can't figure out from the docs.

Firstly, what object type do I use if the return from arangoDB isn't a 
document?  One query I'm using returns pairs of documents, so therefore 
doesn't have _key, id etc at the root.  This causes a VPackParserException. 
 Previously I returned this as a raw Json result, but that doesn't seem to 
be available anymore.

Secondly, how do I access nested objects in a BaseDocument?  I can see that 
in the VPackSlice format I can just do 
doc.get("document1").get("_key").getAsString, but I can't find an 
equivalent for BaseDocuments.  Annoyingly if I use VPackSlice instead it 
seems to send Apache Flink's memory manager crazy.

Thanks,
Rob

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to