public StoreFileScanner getScanner() throws IOException {
    List<HStoreFile> sfs = new ArrayList<>();
    sfs.add(sf);
    List<StoreFileScanner> sfScanners = StoreFileScanner.getScannersForStoreFiles(sfs, false, true,
      false, false, sf.getMaxMemStoreTS());

    return sfScanners.get(0);
  }
Internal use only. This is used by the sweeper.
@return The store file scanner.
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFile.java