← ZIO Streams Compress docs

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product