BytesRefWritable brw; for (int col=0; col < 8; col++) { BytesRefArrayWritable result2 = reader.getColumn(col, result); if (result == null) { assertNotNull(result2);
public BytesRefArrayWritable getColumn(int fieldId) throws IOException { checkState(pageId == expectedBatchId); if (!columnBatchLoaded[fieldId]) { columnBatch[fieldId] = recordReader.getColumn(hiveColumnIndexes[fieldId], columnBatch[fieldId]); columnBatchLoaded[fieldId] = true; } return columnBatch[fieldId]; }
BytesRefArrayWritable rowBatchBytes = reader.getColumn(rcColumn.getInputField(), null); List<Writable> rowValues = new ArrayList<Writable>(rowBatchBytes.size()); incrementNumRecords();
BytesRefArrayWritable rowBatchBytes = reader.getColumn(rcColumn.getInputField(), null); List<Writable> rowValues = new ArrayList<Writable>(rowBatchBytes.size()); incrementNumRecords();