public class ParquetCodecFactory
extends org.apache.parquet.hadoop.CodecFactory
Constructor and Description |
---|
ParquetCodecFactory(org.apache.hadoop.conf.Configuration configuration,
int pageSize) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.io.compress.CompressionCodec |
getCodec(org.apache.parquet.hadoop.metadata.CompressionCodecName codecName)
This is copied from
CodecFactory and modified to include the level in the cache key. |
public ParquetCodecFactory(org.apache.hadoop.conf.Configuration configuration, int pageSize)
protected org.apache.hadoop.io.compress.CompressionCodec getCodec(org.apache.parquet.hadoop.metadata.CompressionCodecName codecName)
CodecFactory
and modified to include the level in the cache key.getCodec
in class org.apache.parquet.hadoop.CodecFactory