Package org.apache.spark.io
Class LZ4CompressionCodec
Object
org.apache.spark.io.LZ4CompressionCodec
- All Implemented Interfaces:
CompressionCodec
:: DeveloperApi ::
LZ4 implementation of
CompressionCodec
.
Block size can be configured by spark.io.compression.lz4.blockSize
.
- Note:
- The wire protocol for this codec is not guaranteed to be compatible across versions of Spark. This is intended for use as an internal compression utility within a single Spark application.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.spark.io.CompressionCodec
compressedContinuousInputStream, compressedContinuousOutputStream
-
Constructor Details
-
LZ4CompressionCodec
-
-
Method Details
-
compressedInputStream
- Specified by:
compressedInputStream
in interfaceCompressionCodec
-
compressedOutputStream
- Specified by:
compressedOutputStream
in interfaceCompressionCodec
-