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
CellScanner
advance
in interface CellScanner
CellScanner.current()
will return a valid CellIOException
public Cell current()
current
in interface CellScanner
protected Cell createCell(byte[] buf, int offset, int len)
protected Cell createCell(ByteBuffer bb, int pos, int len)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.