public Row select(String[] pFieldNames) { RowFormat newFormat = mFormat.select(pFieldNames); Row newRow = (Row) newFormat.getRowFactory().makeRow(); for (int i = 0; i < pFieldNames.length; i++) { String fieldName = pFieldNames[i]; newRow.set(fieldName, get(fieldName)); } return newRow; }