Constructor and Description |
---|
PBCell() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell |
decode(PositionedByteRange src)
Read an instance of
T from the buffer src . |
int |
encode(PositionedByteRange dst,
org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell val)
Write instance
val into buffer dst . |
Class<org.apache.hadoop.hbase.protobuf.generated.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 PBCell()
public Class<org.apache.hadoop.hbase.protobuf.generated.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 org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell decode(PositionedByteRange src)
DataType
T
from the buffer src
.src
- the buffer containing the encoded value.public int encode(PositionedByteRange dst, org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell val)
DataType
val
into buffer dst
.dst
- the buffer containing the encoded value.val
- the value to encode onto dst
.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.