org.apache.hadoop.hbase.regionserver.wal
Class SecureWALCellCodec
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.WALCellCodec
org.apache.hadoop.hbase.regionserver.wal.SecureWALCellCodec
- All Implemented Interfaces:
- Codec
@InterfaceAudience.Private
public class SecureWALCellCodec
- extends WALCellCodec
A WALCellCodec that encrypts the WALedits.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureWALCellCodec
public SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.regionserver.wal.CompressionContext compression)
SecureWALCellCodec
public SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf,
Encryptor encryptor)
SecureWALCellCodec
public SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf,
Decryptor decryptor)
getDecoder
public Codec.Decoder getDecoder(InputStream is)
- Specified by:
getDecoder
in interface Codec
- Overrides:
getDecoder
in class WALCellCodec
getEncoder
public Codec.Encoder getEncoder(OutputStream os)
- Specified by:
getEncoder
in interface Codec
- Overrides:
getEncoder
in class WALCellCodec
getCodec
public static WALCellCodec getCodec(org.apache.hadoop.conf.Configuration conf,
Encryptor encryptor)
getCodec
public static WALCellCodec getCodec(org.apache.hadoop.conf.Configuration conf,
Decryptor decryptor)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.