@InterfaceAudience.Private public class LzmaCodec extends Object implements org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.compress.CompressionCodec
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.conf.Configuration |
conf |
static int |
LZMA_BUFFERSIZE_DEFAULT |
static String |
LZMA_BUFFERSIZE_KEY |
static int |
LZMA_LEVEL_DEFAULT |
static String |
LZMA_LEVEL_KEY |
| Constructor and Description |
|---|
LzmaCodec() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.io.compress.Compressor |
createCompressor() |
org.apache.hadoop.io.compress.Decompressor |
createDecompressor() |
org.apache.hadoop.io.compress.CompressionInputStream |
createInputStream(InputStream in) |
org.apache.hadoop.io.compress.CompressionInputStream |
createInputStream(InputStream in,
org.apache.hadoop.io.compress.Decompressor d) |
org.apache.hadoop.io.compress.CompressionOutputStream |
createOutputStream(OutputStream out) |
org.apache.hadoop.io.compress.CompressionOutputStream |
createOutputStream(OutputStream out,
org.apache.hadoop.io.compress.Compressor c) |
(package private) static int |
getBufferSize(org.apache.hadoop.conf.Configuration conf) |
Class<? extends org.apache.hadoop.io.compress.Compressor> |
getCompressorType() |
org.apache.hadoop.conf.Configuration |
getConf() |
Class<? extends org.apache.hadoop.io.compress.Decompressor> |
getDecompressorType() |
String |
getDefaultExtension() |
(package private) static int |
getLevel(org.apache.hadoop.conf.Configuration conf) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public static final String LZMA_LEVEL_KEY
public static final int LZMA_LEVEL_DEFAULT
public static final String LZMA_BUFFERSIZE_KEY
public static final int LZMA_BUFFERSIZE_DEFAULT
private org.apache.hadoop.conf.Configuration conf
public LzmaCodec()
public org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.io.compress.Compressor createCompressor()
createCompressor in interface org.apache.hadoop.io.compress.CompressionCodecpublic org.apache.hadoop.io.compress.Decompressor createDecompressor()
createDecompressor in interface org.apache.hadoop.io.compress.CompressionCodecpublic org.apache.hadoop.io.compress.CompressionInputStream createInputStream(InputStream in) throws IOException
createInputStream in interface org.apache.hadoop.io.compress.CompressionCodecIOExceptionpublic org.apache.hadoop.io.compress.CompressionInputStream createInputStream(InputStream in, org.apache.hadoop.io.compress.Decompressor d) throws IOException
createInputStream in interface org.apache.hadoop.io.compress.CompressionCodecIOExceptionpublic org.apache.hadoop.io.compress.CompressionOutputStream createOutputStream(OutputStream out) throws IOException
createOutputStream in interface org.apache.hadoop.io.compress.CompressionCodecIOExceptionpublic org.apache.hadoop.io.compress.CompressionOutputStream createOutputStream(OutputStream out, org.apache.hadoop.io.compress.Compressor c) throws IOException
createOutputStream in interface org.apache.hadoop.io.compress.CompressionCodecIOExceptionpublic Class<? extends org.apache.hadoop.io.compress.Compressor> getCompressorType()
getCompressorType in interface org.apache.hadoop.io.compress.CompressionCodecpublic Class<? extends org.apache.hadoop.io.compress.Decompressor> getDecompressorType()
getDecompressorType in interface org.apache.hadoop.io.compress.CompressionCodecpublic String getDefaultExtension()
getDefaultExtension in interface org.apache.hadoop.io.compress.CompressionCodecstatic int getLevel(org.apache.hadoop.conf.Configuration conf)
static int getBufferSize(org.apache.hadoop.conf.Configuration conf)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.