public static String getCellKeyAsString(Cell cell) {
    return getCellKeyAsString(cell,
      c -> Bytes.toStringBinary(c.getRowArray(), c.getRowOffset(), c.getRowLength()));
  }
Returns The Key portion of the passed <code>cell</code> as a String.
hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java