Attributes
- Companion
- trait
- Source
- SnappyWriteFormat.scala
- Graph
-
- Supertypes
- Self type
-
SnappyWriteFormat.type
Members list
Type members
Classlikes
Write snappy in the basic (unframed) format.
Write snappy in the basic (unframed) format.
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
- Supertypes
-
trait SnappyWriteFormattrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Write snappy in the framed format.
Write snappy in the framed format.
Value parameters
- blockSize
-
the number of bytes from the input that are compressed together. Higher block sizes lead to higher compression ratios. Defaults to 64 KiB. Must be in [1, 64 KiB].
- minCompressionRatio
-
Defines the minimum compression ratio (
compressedLength / rawLength) that must be achieved to write the compressed data. Defaults to 0.85. Must be in (0.0, 1.0].
Attributes
- See also
- Source
- SnappyWriteFormat.scala
- Supertypes
-
trait SnappyWriteFormattrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Write snappy in the format used by Hadoop and Spark.
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
- Supertypes
-
trait SnappyWriteFormattrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements
The name of the type