@InterfaceAudience.Private public class SecureWALCellCodec extends WALCellCodec
WALCellCodec.ByteStringCompressor, WALCellCodec.ByteStringUncompressor, WALCellCodec.EnsureKvEncoder
Codec.Decoder, Codec.Encoder
compression, statelessUncompressor, WAL_CELL_CODEC_CLASS_KEY
Constructor and Description |
---|
SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf,
CompressionContext compression) |
SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf,
Decryptor decryptor) |
SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf,
Encryptor encryptor) |
Modifier and Type | Method and Description |
---|---|
static WALCellCodec |
getCodec(org.apache.hadoop.conf.Configuration conf,
Decryptor decryptor) |
static WALCellCodec |
getCodec(org.apache.hadoop.conf.Configuration conf,
Encryptor encryptor) |
Codec.Decoder |
getDecoder(InputStream is) |
Codec.Encoder |
getEncoder(OutputStream os) |
create, create, getByteStringCompressor, getByteStringUncompressor
public SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf, CompressionContext compression)
public SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf, Encryptor encryptor)
public SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf, Decryptor decryptor)
public Codec.Decoder getDecoder(InputStream is)
getDecoder
in interface Codec
getDecoder
in class WALCellCodec
public Codec.Encoder getEncoder(OutputStream os)
getEncoder
in interface Codec
getEncoder
in class WALCellCodec
public static WALCellCodec getCodec(org.apache.hadoop.conf.Configuration conf, Encryptor encryptor)
public static WALCellCodec getCodec(org.apache.hadoop.conf.Configuration conf, Decryptor decryptor)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.