Cast ResultSet for columns to array