org.apache.hadoop.hbase.types
Class PBCell
java.lang.Object
org.apache.hadoop.hbase.types.PBType<org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell>
org.apache.hadoop.hbase.types.PBCell
- All Implemented Interfaces:
- DataType<org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell>
public class PBCell
- extends PBType<org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell>
An example for using protobuf objects with DataType API.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PBCell
public PBCell()
encodedClass
public Class<org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell> encodedClass()
skip
public int skip(PositionedByteRange src)
decode
public org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell decode(PositionedByteRange src)
encode
public int encode(PositionedByteRange dst,
org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell val)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.