public static String toString(Cell cell, boolean verbose) {
    if (cell == null) {
      return "";
    }
    StringBuilder builder = new StringBuilder();
    String keyStr = getCellKeyAsString(cell);

    String tag = null;
    String value = null;
    if (verbose) {
      // TODO: pretty print tags as well
      if (cell instanceof RawCell) {
        RawCell rawCell = (RawCell) cell;
        if (rawCell.getTagsLength() > 0) {
          tag = Bytes.toStringBinary(rawCell.getTagsArray(), rawCell.getTagsOffset(),
            rawCell.getTagsLength());
        }
      }
      if (!(cell instanceof KeyValue.KeyOnlyKeyValue)) {
        value =
          Bytes.toStringBinary(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength());
      }
    }

    builder.append(keyStr);
    if (tag != null && !tag.isEmpty()) {
      builder.append("/").append(tag);
    }
    if (value != null) {
      builder.append("/").append(value);
    }

    return builder.toString();
  }
Returns a string representation of the cell
hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java