static class SecureWALCellCodec.EncryptedKvEncoder extends KeyValueCodecWithTags.KeyValueEncoder
| Modifier and Type | Field and Description | 
|---|---|
| private Encryptor | encryptor | 
| private ThreadLocal<byte[]> | iv | 
flushed, out| Constructor and Description | 
|---|
| EncryptedKvEncoder(OutputStream os) | 
| EncryptedKvEncoder(OutputStream os,
                  Encryptor encryptor) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | incrementIv(int v) | 
| protected byte[] | nextIv() | 
| void | write(Cell cell)Implementation must copy the entire state of the Cell. | 
checkFlushed, flush, getOuputStreamprivate final ThreadLocal<byte[]> iv
public EncryptedKvEncoder(OutputStream os)
public EncryptedKvEncoder(OutputStream os, Encryptor encryptor)
protected byte[] nextIv()
protected void incrementIv(int v)
public void write(Cell cell) throws IOException
CellOutputStreamwrite in interface CellOutputStreamwrite in class KeyValueCodecWithTags.KeyValueEncodercell - Cell to write outIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.