Class WALCellCodec.CompressedKvDecoder
java.lang.Object
org.apache.hadoop.hbase.codec.BaseDecoder
org.apache.hadoop.hbase.regionserver.wal.WALCellCodec.CompressedKvDecoder
- All Implemented Interfaces:
- CellScanner,- Codec.Decoder,- ExtendedCellScanner
- Enclosing class:
- WALCellCodec
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.hadoop.hbase.codec.BaseDecoderBaseDecoder.PBIS
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final CompressionContextprivate final booleanprivate final booleanFields inherited from class org.apache.hadoop.hbase.codec.BaseDecoderin, LOG
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static voidcheckLength(int len, int max) protected ExtendedCellExtract a Cell.private voidreadCompressedValue(InputStream in, byte[] outArray, int outOffset, int expectedLength) private intreadIntoArray(byte[] to, int offset, Dictionary dict) Methods inherited from class org.apache.hadoop.hbase.codec.BaseDecoderadvance, current, getInputStream
- 
Field Details- 
compression
- 
hasValueCompression
- 
hasTagCompression
 
- 
- 
Constructor Details- 
CompressedKvDecoder
 
- 
- 
Method Details- 
parseCellDescription copied from class:BaseDecoderExtract a Cell.- Specified by:
- parseCellin class- BaseDecoder
- Returns:
- a parsed Cell or throws an Exception. EOFException or a generic IOException maybe thrown if EOF is reached prematurely. Does not return null.
- Throws:
- IOException
 
- 
readIntoArray- Throws:
- IOException
 
- 
checkLength- Throws:
- IOException
 
- 
readCompressedValueprivate void readCompressedValue(InputStream in, byte[] outArray, int outOffset, int expectedLength) throws IOException - Throws:
- IOException
 
 
-