org.apache.hadoop.hbase.regionserver.wal
Class SecureWALCellCodec

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.wal.WALCellCodec
      extended by org.apache.hadoop.hbase.regionserver.wal.SecureWALCellCodec
All Implemented Interfaces:
Codec

@InterfaceAudience.Private
public class SecureWALCellCodec
extends WALCellCodec

A WALCellCodec that encrypts the WALedits.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.regionserver.wal.WALCellCodec
WALCellCodec.ByteStringCompressor, WALCellCodec.ByteStringUncompressor, WALCellCodec.EnsureKvEncoder
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.codec.Codec
Codec.Decoder, Codec.Encoder
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.regionserver.wal.WALCellCodec
compression, statelessUncompressor, WAL_CELL_CODEC_CLASS_KEY
 
Constructor Summary
SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.wal.CompressionContext compression)
           
SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf, Decryptor decryptor)
           
SecureWALCellCodec(org.apache.hadoop.conf.Configuration conf, Encryptor encryptor)
           
 
Method Summary
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)
           
 
Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.WALCellCodec
create, create, getByteStringCompressor, getByteStringUncompressor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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–2015 The Apache Software Foundation. All rights reserved.