Class WALCellCodec.CompressedKvEncoder
java.lang.Object
org.apache.hadoop.hbase.codec.BaseEncoder
org.apache.hadoop.hbase.regionserver.wal.WALCellCodec.CompressedKvEncoder
- All Implemented Interfaces:
Codec.Encoder
,CellOutputStream
- Enclosing class:
- WALCellCodec
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CompressionContext
private final boolean
private final boolean
Fields inherited from class org.apache.hadoop.hbase.codec.BaseEncoder
flushed, out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(ExtendedCell cell) Implementation must copy the entire state of the Cell.private void
writeCompressedValue
(OutputStream out, Cell cell) Methods inherited from class org.apache.hadoop.hbase.codec.BaseEncoder
checkFlushed, flush, getOuputStream
-
Field Details
-
compression
-
hasValueCompression
-
hasTagCompression
-
-
Constructor Details
-
CompressedKvEncoder
-
-
Method Details
-
write
Description copied from interface:CellOutputStream
Implementation 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:
write
in interfaceCellOutputStream
- Specified by:
write
in classBaseEncoder
- Parameters:
cell
- Cell to write out- Throws:
IOException
-
writeCompressedValue
- Throws:
IOException
-