public static StoreFileWriter createWriter(Configuration conf, FileSystem fs,
    ColumnFamilyDescriptor family, Path path, long maxKeyCount, Compression.Algorithm compression,
    CacheConfig cacheConfig, Encryption.Context cryptoContext, ChecksumType checksumType,
    int bytesPerChecksum, int blocksize, BloomType bloomType, boolean isCompaction)
    throws IOException {
    return createWriter(conf, fs, family, path, maxKeyCount, compression, cacheConfig,
      cryptoContext, checksumType, bytesPerChecksum, blocksize, bloomType, isCompaction, null);
  }
Creates a writer for the mob file in temp directory.
@param conf             The current configuration.
@param fs               The current file system.
@param family           The descriptor of the current column family.
@param path             The path for a temp directory.
@param maxKeyCount      The key count.
@param compression      The compression algorithm.
@param cacheConfig      The current cache config.
@param cryptoContext    The encryption context.
@param checksumType     The checksum type.
@param bytesPerChecksum The bytes per checksum.
@param blocksize        The HFile block size.
@param bloomType        The bloom filter type.
@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/mob/MobUtils.java