public static FlushDescriptor getFlushDescriptor(Cell cell) throws IOException {
    return CellUtil.matchingColumn(cell, METAFAMILY, FLUSH)
      ? FlushDescriptor.parseFrom(CellUtil.cloneValue(cell))
      : null;
  }
Reads WALEdit from cells.
@param cellDecoder   Cell decoder.
@param expectedCount Expected cell count.
@return Number of KVs read.
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALEdit.java