code: public Put preparePut(HBaseRow hbaseRow)
      {
          Put p = new Put(HBaseUtils.getBytes(hbaseRow.getRowKey()));
          for (HBaseCell hbaseCell : hbaseRow.getRowCells())
          {
              String colFamily = hbaseCell.getColumnFamily();
              String colQualifier = hbaseCell.getColumnName();
              Object colValue = hbaseCell.getValue();
              if (colFamily != null && colQualifier != null && colValue != null)
                  p.addColumn(Bytes.toBytes(colFamily), Bytes.toBytes(colQualifier), HBaseUtils.getBytes(colValue));
          }
          return p;
      }
docs: Prepare put.
  
  @param hbaseRow
  the hbase row
  @return the put