public static class KeyValueCodec.ByteBuffKeyValueDecoder extends Object implements Codec.Decoder
| Modifier and Type | Field and Description | 
|---|---|
| protected ByteBuff | buf | 
| protected Cell | current | 
| Constructor and Description | 
|---|
| ByteBuffKeyValueDecoder(ByteBuff buf) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | advance()Advance the scanner 1 cell. | 
| protected Cell | createCell(byte[] buf,
          int offset,
          int len) | 
| protected Cell | createCell(ByteBuffer bb,
          int pos,
          int len) | 
| Cell | current() | 
public ByteBuffKeyValueDecoder(ByteBuff buf)
public boolean advance() throws IOException
CellScanneradvance in interface CellScannerCellScanner.current() will return a valid CellIOException - if advancing the scanner failspublic Cell current()
current in interface CellScannerprotected Cell createCell(byte[] buf, int offset, int len)
protected Cell createCell(ByteBuffer bb, int pos, int len)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.