@InterfaceAudience.Private public class SecureWALCellCodec extends WALCellCodec
WALCellCodec.ByteStringCompressor, WALCellCodec.ByteStringUncompressor, WALCellCodec.EnsureKvEncoderCodec.Decoder, Codec.Encodercompression, WAL_CELL_CODEC_CLASS_KEY| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, getWALCellCodecClasspublic 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 在接口中 CodecgetDecoder 在类中 WALCellCodecpublic Codec.Encoder getEncoder(OutputStream os)
getEncoder 在接口中 CodecgetEncoder 在类中 WALCellCodecpublic 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–2019 The Apache Software Foundation. All rights reserved.