public static ExtendedCell createFirstOnRowCol(final Cell cell, byte[] qArray, int qoffest,
    int qlength) {
    if (cell instanceof ByteBufferExtendedCell) {
      return new FirstOnRowColByteBufferExtendedCell(
        ((ByteBufferExtendedCell) cell).getRowByteBuffer(),
        ((ByteBufferExtendedCell) cell).getRowPosition(), cell.getRowLength(),
        ((ByteBufferExtendedCell) cell).getFamilyByteBuffer(),
        ((ByteBufferExtendedCell) cell).getFamilyPosition(), cell.getFamilyLength(),
        ByteBuffer.wrap(qArray), qoffest, qlength);
    }
    return new FirstOnRowColCell(cell.getRowArray(), cell.getRowOffset(), cell.getRowLength(),
      cell.getFamilyArray(), cell.getFamilyOffset(), cell.getFamilyLength(), qArray, qoffest,
      qlength);
  }
Create a Cell that is smaller than all other possible Cells for the given Cell's rk:cf and
passed qualifier.
@return Last possible Cell on passed Cell's rk:cf and passed qualifier.
hbase-common/src/main/java/org/apache/hadoop/hbase/PrivateCellUtil.java