Example usage for Java org.apache.hadoop.io.compress CompressionCodecFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
CompressionCodecFactory(Configuration conf) Find the codecs specified in the config value io.compression.codecs and register them. |
CompressionCodec | getCodec(Path file) Find the relevant compression codec for the given file based on its filename suffix. |
CompressionCodec | getCodecByClassName(String classname) Find the relevant compression codec for the codec's canonical class name. |
CompressionCodec | getCodecByName(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. |
String | removeSuffix(String filename, String suffix) Removes a suffix from a filename, if it has it. |
void | setCodecClasses(Configuration conf, List Sets a list of codec classes in the configuration. |