reader.getCurrentRow(cols); cols.resetValid(8); Object row = serDe.deserialize(cols);
reader.getCurrentRow(cols); cols.resetValid(8); Object row = serDe.deserialize(cols);
reader.getCurrentRow(cols); cols.resetValid(8); Object row = serDe.deserialize(cols);
@Override public Object deserialize(Writable blob) throws SerDeException { // Ideally this should throw UnsupportedOperationException as the serde is // vectorized serde. But since RC file reader does not support vectorized reading this // is left as it is. This function will be called from VectorizedRowBatchCtx::addRowToBatch // to deserialize the row one by one and populate the batch. Once RC file reader supports vectorized // reading this serde and be standalone serde with no dependency on ColumnarSerDe. return super.deserialize(blob); }
final ColumnarStruct row = (ColumnarStruct) serDe.deserialize(cols); final ArrayList<Object> objects = row.getFieldsAsList(); for (final Object object : objects) {