Mass data load using Trino JDBC driver

Hi,

I’m reading data from Trino using a JDBC connector in a Java application. Is is possible to read the Trino table data en mass (into a dataframe like data structure) using Trino JDBC driver? Or am I limited by the semantics of reading one row at a time from the ResultSet?

Thanks,
Sharad