@InterfaceAudience.Private 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, outputStreamFromByteRangepublic Class<CellProtos.Cell> encodedClass()
DataTypeDataType operates. Useful
when working with bare DataType instances.public int skip(PositionedByteRange src)
DataTypesrc's position forward over one encoded value.src - the buffer containing the encoded value.public CellProtos.Cell decode(PositionedByteRange src)
DataTypeT from the buffer src.src - the buffer containing the encoded value.public int encode(PositionedByteRange dst, CellProtos.Cell val)
DataTypeval into buffer dst.dst - the buffer containing the encoded value.val - the value to encode onto dst.Copyright © 2007–2019 Cloudera. All rights reserved.