HadoopCompatible
zio.compress.SnappyWriteFormat.HadoopCompatible
final case class HadoopCompatible(blockSize: Int = ...) extends SnappyWriteFormat
Write snappy in the format used by Hadoop and Spark.
Compression for use with Hadoop libraries: it does not emit a file header but write out the current block size as a preamble to each block.
Value parameters
- blockSize
-
the number of bytes from the input that are compressed together. Higher block sizes lead to higher compression ratios. Defaults to 32 KiB. Must be in [1 KiB, 512 MiB].
Attributes
- Source
- SnappyWriteFormat.scala
- Graph
-
- Supertypes
-
trait SnappyWriteFormattrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article