Java org.apache.hadoop.io.compress CompressionCodecFactory fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.io.compress CompressionCodecFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.io.compress CompressionCodecFactory.

The text is from its open source code.

Constructor

CompressionCodecFactory(Configuration conf)
Find the codecs specified in the config value io.compression.codecs and register them.

Method

CompressionCodecgetCodec(Path file)
Find the relevant compression codec for the given file based on its filename suffix.
CompressionCodecgetCodecByClassName(String classname)
Find the relevant compression codec for the codec's canonical class name.
CompressionCodecgetCodecByName(String codecName)
Find the relevant compression codec for the codec's canonical class name or by codec alias.
List>getCodecClasses(Configuration conf)
Get the list of codecs discovered via a Java ServiceLoader, or listed in the configuration.
StringremoveSuffix(String filename, String suffix)
Removes a suffix from a filename, if it has it.
voidsetCodecClasses(Configuration conf, List classes)
Sets a list of codec classes in the configuration.