public StoreFileWriter createWriterInTmp(MobFileName mobFileName, Path basePath, long maxKeyCount,
    Compression.Algorithm compression, boolean isCompaction, Consumer<Path> writerCreationTracker)
    throws IOException {
    return MobUtils.createWriter(conf, getFileSystem(), getColumnFamilyDescriptor(),
      new Path(basePath, mobFileName.getFileName()), maxKeyCount, compression, getCacheConfig(),
      getStoreContext().getEncryptionContext(), StoreUtils.getChecksumType(conf),
      StoreUtils.getBytesPerChecksum(conf), getStoreContext().getBlockSize(), BloomType.NONE,
      isCompaction, writerCreationTracker);
  }
Creates the writer for the mob file in temp directory.
@param mobFileName  The mob file name.
@param basePath     The basic path for a temp directory.
@param maxKeyCount  The key count.
@param compression  The compression algorithm.
@param isCompaction If the writer is used in compaction.
@return The writer for the mob file.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HMobStore.java