Class SecureWALCellCodec.EncryptedKvEncoder
java.lang.Object
org.apache.hadoop.hbase.codec.BaseEncoder
org.apache.hadoop.hbase.codec.KeyValueCodecWithTags.KeyValueEncoder
org.apache.hadoop.hbase.regionserver.wal.SecureWALCellCodec.EncryptedKvEncoder
- All Implemented Interfaces:
Codec.Encoder,CellOutputStream
- Enclosing class:
- SecureWALCellCodec
-
Field Summary
FieldsFields inherited from class org.apache.hadoop.hbase.codec.BaseEncoder
flushed, out -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidincrementIv(int v) protected byte[]nextIv()voidwrite(ExtendedCell cell) Implementation must copy the entire state of the Cell.Methods inherited from class org.apache.hadoop.hbase.codec.BaseEncoder
checkFlushed, flush, getOuputStream
-
Field Details
-
encryptor
-
iv
-
-
Constructor Details
-
EncryptedKvEncoder
-
EncryptedKvEncoder
-
-
Method Details
-
nextIv
-
incrementIv
-
write
Description copied from interface:CellOutputStreamImplementation must copy the entire state of the Cell. If the written Cell is modified immediately after the write method returns, the modifications must have absolutely no effect on the copy of the Cell that was added in the write.- Specified by:
writein interfaceCellOutputStream- Overrides:
writein classKeyValueCodecWithTags.KeyValueEncoder- Parameters:
cell- Cell to write out- Throws:
IOException
-