[][src]Function parquet::compression::create_codec

pub fn create_codec(codec: CodecType) -> Result<Option<Box<dyn Codec>>>

Given the compression type codec, returns a codec used to compress and decompress bytes for the compression type. This returns None if the codec type is UNCOMPRESSED.