public List<DescriptionRow> extractDescriptionRows(ResultSet resultSet, int maxRows)
		throws SQLException {
		List<DescriptionRow> descvec = new ArrayList<>();
		boolean finished = false;

		while (resultSet.next()) {
			if (!finished) {
				DescriptionRow row = new DescriptionRow();
				descvec.add(row);
				extractDescriptionRow(resultSet, row);
				if ((maxRows > 0) && (descvec.size() >= maxRows)) {
					// maximum number of
					// rows
					finished = true;
				}
			}
		}
		return descvec;
	}
Extract a list of desctable rows from the SQL result set
Only build up to -max- DescriptionRow objects, but still run through all rows in the set.
@param resultSet is the ResultSet to run through
@param maxRows is the maximum number of DescriptionRows to build
@return a list of the new DescriptionRows
@throws SQLException if there is a problem parsing the result set
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/tables/DescriptionTable.java