public class PBCell extends PBType<CellProtos.Cell>
DataType
API.Constructor and Description |
---|
PBCell() |
Modifier and Type | Method and Description |
---|---|
CellProtos.Cell |
decode(PositionedByteRange src)
Read an instance of
T from the buffer src . |
int |
encode(PositionedByteRange dst,
CellProtos.Cell val)
Write instance
val into buffer dst . |
Class<CellProtos.Cell> |
encodedClass()
Inform consumers over what type this
DataType operates. |
int |
skip(PositionedByteRange src)
Skip
src 's position forward over one encoded value. |
encodedLength, getOrder, inputStreamFromByteRange, isNullable, isOrderPreserving, isSkippable, outputStreamFromByteRange
public Class<CellProtos.Cell> encodedClass()
DataType
DataType
operates. Useful
when working with bare DataType
instances.public int skip(PositionedByteRange src)
DataType
src
's position forward over one encoded value.src
- the buffer containing the encoded value.public CellProtos.Cell decode(PositionedByteRange src)
DataType
T
from the buffer src
.src
- the buffer containing the encoded value.public int encode(PositionedByteRange dst, CellProtos.Cell val)
DataType
val
into buffer dst
.dst
- the buffer containing the encoded value.val
- the value to encode onto dst
.