org.apache.hbase.cell
Class CellTool

java.lang.Object
  extended by org.apache.hbase.cell.CellTool

@InterfaceAudience.Private
@InterfaceStability.Evolving
public final class CellTool
extends Object


Constructor Summary
CellTool()
           
 
Method Summary
static int copyFamilyTo(Cell cell, byte[] destination, int destinationOffset)
           
static int copyQualifierTo(Cell cell, byte[] destination, int destinationOffset)
           
static int copyRowTo(Cell cell, byte[] destination, int destinationOffset)
          copyTo
static int copyValueTo(Cell cell, byte[] destination, int destinationOffset)
           
static ByteRange fillFamilyRange(Cell cell, ByteRange range)
           
static ByteRange fillQualifierRange(Cell cell, ByteRange range)
           
static ByteRange fillRowRange(Cell cell, ByteRange range)
          ByteRange
static byte[] getFamilyArray(Cell cell)
           
static byte[] getQualifierArray(Cell cell)
           
static byte[] getRowArray(Cell cell)
          get individual arrays for tests
static byte getRowByte(Cell cell, int index)
          misc
static byte[] getValueArray(Cell cell)
           
static ByteBuffer getValueBufferShallowCopy(Cell cell)
          KeyValue (move to KeyValueUtils)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellTool

public CellTool()
Method Detail

fillRowRange

public static ByteRange fillRowRange(Cell cell,
                                     ByteRange range)
ByteRange


fillFamilyRange

public static ByteRange fillFamilyRange(Cell cell,
                                        ByteRange range)

fillQualifierRange

public static ByteRange fillQualifierRange(Cell cell,
                                           ByteRange range)

getRowArray

public static byte[] getRowArray(Cell cell)
get individual arrays for tests


getFamilyArray

public static byte[] getFamilyArray(Cell cell)

getQualifierArray

public static byte[] getQualifierArray(Cell cell)

getValueArray

public static byte[] getValueArray(Cell cell)

copyRowTo

public static int copyRowTo(Cell cell,
                            byte[] destination,
                            int destinationOffset)
copyTo


copyFamilyTo

public static int copyFamilyTo(Cell cell,
                               byte[] destination,
                               int destinationOffset)

copyQualifierTo

public static int copyQualifierTo(Cell cell,
                                  byte[] destination,
                                  int destinationOffset)

copyValueTo

public static int copyValueTo(Cell cell,
                              byte[] destination,
                              int destinationOffset)

getRowByte

public static byte getRowByte(Cell cell,
                              int index)
misc


getValueBufferShallowCopy

public static ByteBuffer getValueBufferShallowCopy(Cell cell)
KeyValue (move to KeyValueUtils)



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.