public static class KeyValueCodec.ByteBuffKeyValueDecoder extends Object implements Codec.Decoder
构造器和说明 |
---|
ByteBuffKeyValueDecoder(ByteBuff buf) |
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 CellScanner
CellScanner.current()
will return a valid CellIOException
public Cell current()
current
在接口中 CellScanner
protected Cell createCell(byte[] buf, int offset, int len)
protected Cell createCell(ByteBuffer bb, int pos, int len)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.