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 Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.codec.BaseDecoder
BaseDecoder.PBIS -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CompressionContextprivate final booleanprivate final booleanFields inherited from class org.apache.hadoop.hbase.codec.BaseDecoder
in, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier 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.BaseDecoder
advance, current, getInputStream
-
Field Details
-
compression
-
hasValueCompression
-
hasTagCompression
-
-
Constructor Details
-
CompressedKvDecoder
-
-
Method Details
-
parseCell
Description copied from class:BaseDecoderExtract a Cell.- Specified by:
parseCellin classBaseDecoder- 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
-
readCompressedValue
private void readCompressedValue(InputStream in, byte[] outArray, int outOffset, int expectedLength) throws IOException - Throws:
IOException
-