For the case that we don't need to verify the correctness of the result, we should use DataIterator to iterate the ResultSet instead of using SessionDataSet.next() which will cause unnecessary overhead for constructing RowRecord, this may be nonnegligible while the result set is very large.
For the case that we don't need to verify the correctness of the result, we should use DataIterator to iterate the ResultSet instead of using
SessionDataSet.next()
which will cause unnecessary overhead for constructingRowRecord
, this may be nonnegligible while the result set is very large.