@InterfaceAudience.Private public class SecureWALCellCodec extends WALCellCodec
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SecureWALCellCodec.EncryptedKvDecoder |
(package private) static class |
SecureWALCellCodec.EncryptedKvEncoder |
WALCellCodec.BaosAndCompressor, WALCellCodec.ByteStringCompressor, WALCellCodec.ByteStringUncompressor, WALCellCodec.CompressedKvDecoder, WALCellCodec.CompressedKvEncoder, WALCellCodec.EnsureKvEncoder, WALCellCodec.NoneCompressor, WALCellCodec.NoneUncompressor, WALCellCodec.StatelessUncompressor
Codec.Decoder, Codec.Encoder
Modifier and Type | Field and Description |
---|---|
private Decryptor |
decryptor |
private Encryptor |
encryptor |
compression, 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, getDecoder, getNoneCompressor, getNoneUncompressor, getWALCellCodecClass
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–2020 The Apache Software Foundation. All rights reserved.