org.apache.hadoop.hbase.types
Class PBCell

java.lang.Object
  extended by org.apache.hadoop.hbase.types.PBType<org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell>
      extended by 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.


Constructor Summary
PBCell()
           
 
Method Summary
 org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell decode(PositionedByteRange src)
           
 int encode(PositionedByteRange dst, org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell val)
           
 Class<org.apache.hadoop.hbase.protobuf.generated.CellProtos.Cell> encodedClass()
           
 int skip(PositionedByteRange src)
           
 
Methods inherited from class org.apache.hadoop.hbase.types.PBType
encodedLength, getOrder, inputStreamFromByteRange, isNullable, isOrderPreserving, isSkippable, outputStreamFromByteRange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PBCell

public PBCell()
Method Detail

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.