public interface CompressionCodec
Note: The wire protocol for a codec is not guaranteed compatible across versions of Spark. This is intended for use as an internal compression utility within a single Spark application.
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
compressedInputStream(java.io.InputStream s) |
java.io.OutputStream |
compressedOutputStream(java.io.OutputStream s) |
CompressionCodec |
createCodec(SparkConf conf) |
CompressionCodec |
createCodec(SparkConf conf,
String codecName) |
String |
DEFAULT_COMPRESSION_CODEC() |
CompressionCodec createCodec(SparkConf conf)
CompressionCodec createCodec(SparkConf conf, String codecName)
String DEFAULT_COMPRESSION_CODEC()
java.io.OutputStream compressedOutputStream(java.io.OutputStream s)
java.io.InputStream compressedInputStream(java.io.InputStream s)