presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/JdbcRecordCursor.java/JdbcRecordCursor/advanceNextPosition
class JdbcRecordCursor:    @Override
    public boolean advanceNextPosition()
    {
        if (closed) {
            return false;
        }

        try {
            return resultSet.next();
        }
        catch (SQLException | RuntimeException e) {
            throw handleSqlException(e);
        }
    }