Package org.apache.hadoop.hbase.codec
Class CellCodec.CellDecoder
java.lang.Object
org.apache.hadoop.hbase.codec.BaseDecoder
org.apache.hadoop.hbase.codec.CellCodec.CellDecoder
- All Implemented Interfaces:
CellScanner
,Codec.Decoder
- Enclosing class:
- CellCodec
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.codec.BaseDecoder
BaseDecoder.PBIS
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.codec.BaseDecoder
in, LOG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Cell
Extract a Cell.private byte[]
Returns Byte array read from the stream.Methods inherited from class org.apache.hadoop.hbase.codec.BaseDecoder
advance, current, getInputStream
-
Field Details
-
cellBuilder
-
-
Constructor Details
-
CellDecoder
-
-
Method Details
-
parseCell
Description copied from class:BaseDecoder
Extract a Cell.- Specified by:
parseCell
in 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
-
readByteArray
Returns Byte array read from the stream. n- Throws:
IOException
-