public void handleRowChanged(Cell lastCell) {
    if (rowBytes > largestRowNumBytes) {
      largestRowRef = lastCell;
      largestRowNumBytes = rowBytes;
      largestRowCellsCount = rowCells;
    }
    if (rowBytes > blockSize) {
      if (LOG.isDebugEnabled()) {
        LOG.debug("RowTooLarge: rowBytes={}, blockSize={}, table={}, rowKey={}", rowBytes,
          blockSize, table, Bytes.toStringBinary(lastCell.getRowArray(), lastCell.getRowOffset(),
            lastCell.getRowLength()));
      }
      rowsLargerThanOneBlockCount++;
    }
    rowSizeBuckets.add(rowBytes);
    rowBytes = 0;
    rowCells = 0;
    totalRowsCount++;
  }
Holder for accumulating row statistics in {@link RowStatisticsCompactionObserver} Creates various
cell, row, and total stats.
hbase-examples/src/main/java/org/apache/hadoop/hbase/coprocessor/example/row/stats/RowStatisticsImpl.java