Get the dataset from a "returning" clause using the Java SDK

A RETURNING * clause should produce rows(), just like a SELECT so that should work out of the box.