@Override
 public void readFields(DataInput input) throws IOException {
   super.readFields(input);
   accessor = new RowKeyValueAccessor();
   accessor.readFields(input);
   fromType = type; // fromType only needed on client side
 }
 @Override
 public void write(DataOutput output) throws IOException {
   super.write(output);
   accessor.write(output);
 }