Package org.apache.hadoop.hbase.codec
Class KeyValueCodec.ByteBuffKeyValueDecoder
java.lang.Object
org.apache.hadoop.hbase.codec.KeyValueCodec.ByteBuffKeyValueDecoder
- All Implemented Interfaces:
CellScanner,Codec.Decoder,ExtendedCellScanner
- Direct Known Subclasses:
KeyValueCodecWithTags.ByteBuffKeyValueDecoder
- Enclosing class:
- KeyValueCodec
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadvance()Advance the scanner 1 cell.protected ExtendedCellcreateCell(byte[] buf, int offset, int len) protected ExtendedCellcreateCell(ByteBuffer bb, int pos, int len) current()Returns the current Cell which may be mutable
-
Field Details
-
buf
-
current
-
-
Constructor Details
-
ByteBuffKeyValueDecoder
-
-
Method Details
-
advance
Description copied from interface:CellScannerAdvance the scanner 1 cell.- Specified by:
advancein interfaceCellScanner- Returns:
- true if the next cell is found and
CellScanner.current()will return a valid Cell - Throws:
IOException- if advancing the scanner fails
-
current
Description copied from interface:CellScannerReturns the current Cell which may be mutable- Specified by:
currentin interfaceCellScanner- Specified by:
currentin interfaceExtendedCellScanner
-
createCell
-
createCell
-