Package org.apache.arrow.compression
Class CommonsCompressionFactory
java.lang.Object
org.apache.arrow.compression.CommonsCompressionFactory
- All Implemented Interfaces:
CompressionCodec.Factory
Default implementation of factory supported LZ4 and ZSTD compression.
// TODO(ARROW-12115): Rename this class.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCodec
(CompressionUtil.CodecType codecType) Creates the codec based on the codec type.createCodec
(CompressionUtil.CodecType codecType, int compressionLevel) Creates the codec based on the codec type and compression level.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CommonsCompressionFactory
public CommonsCompressionFactory()
-
-
Method Details
-
createCodec
Description copied from interface:CompressionCodec.Factory
Creates the codec based on the codec type.- Specified by:
createCodec
in interfaceCompressionCodec.Factory
-
createCodec
Description copied from interface:CompressionCodec.Factory
Creates the codec based on the codec type and compression level.- Specified by:
createCodec
in interfaceCompressionCodec.Factory
-