public MobCell readCell(ExtendedCell search, boolean cacheMobBlocks, long readPt)
    throws IOException {
    StoreFileScanner scanner = null;
    boolean succ = false;
    try {
      List<StoreFileScanner> sfScanners = StoreFileScanner.getScannersForStoreFiles(
        Collections.singletonList(sf), cacheMobBlocks, true, false, false, readPt);
      if (!sfScanners.isEmpty()) {
        scanner = sfScanners.get(0);
        if (scanner.seek(search)) {
          MobCell mobCell = new MobCell(scanner.peek(), scanner);
          succ = true;
          return mobCell;
        }
      }
      return null;
    } finally {
      if (scanner != null && !succ) {
        scanner.close();
      }
    }
  }
Reads a cell from the mob file.
@param search         The cell need to be searched in the mob file.
@param cacheMobBlocks Should this scanner cache blocks.
@param readPt         the read point.
@return The cell in the mob file.
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFile.java