Class TestCellUtil.TestCell

java.lang.Object
org.apache.hadoop.hbase.TestCellUtil.TestCell
All Implemented Interfaces:
org.apache.hadoop.hbase.Cell, org.apache.hadoop.hbase.ExtendedCell, org.apache.hadoop.hbase.io.HeapSize, org.apache.hadoop.hbase.RawCell
Enclosing class:
TestCellUtil

private static class TestCellUtil.TestCell extends Object implements org.apache.hadoop.hbase.ExtendedCell
Cell used in test. Has row only.
  • Field Details

    • row

      private final byte[] row
  • Constructor Details

  • Method Details

    • getRowArray

      public byte[] getRowArray()
      Specified by:
      getRowArray in interface org.apache.hadoop.hbase.Cell
    • getRowOffset

      public int getRowOffset()
      Specified by:
      getRowOffset in interface org.apache.hadoop.hbase.Cell
    • getRowLength

      public short getRowLength()
      Specified by:
      getRowLength in interface org.apache.hadoop.hbase.Cell
    • getFamilyArray

      public byte[] getFamilyArray()
      Specified by:
      getFamilyArray in interface org.apache.hadoop.hbase.Cell
    • getFamilyOffset

      public int getFamilyOffset()
      Specified by:
      getFamilyOffset in interface org.apache.hadoop.hbase.Cell
    • getFamilyLength

      public byte getFamilyLength()
      Specified by:
      getFamilyLength in interface org.apache.hadoop.hbase.Cell
    • getQualifierArray

      public byte[] getQualifierArray()
      Specified by:
      getQualifierArray in interface org.apache.hadoop.hbase.Cell
    • getQualifierOffset

      public int getQualifierOffset()
      Specified by:
      getQualifierOffset in interface org.apache.hadoop.hbase.Cell
    • getQualifierLength

      public int getQualifierLength()
      Specified by:
      getQualifierLength in interface org.apache.hadoop.hbase.Cell
    • getTimestamp

      public long getTimestamp()
      Specified by:
      getTimestamp in interface org.apache.hadoop.hbase.Cell
    • getTypeByte

      public byte getTypeByte()
      Specified by:
      getTypeByte in interface org.apache.hadoop.hbase.ExtendedCell
    • getValueArray

      public byte[] getValueArray()
      Specified by:
      getValueArray in interface org.apache.hadoop.hbase.Cell
    • getValueOffset

      public int getValueOffset()
      Specified by:
      getValueOffset in interface org.apache.hadoop.hbase.Cell
    • getValueLength

      public int getValueLength()
      Specified by:
      getValueLength in interface org.apache.hadoop.hbase.Cell
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface org.apache.hadoop.hbase.Cell
      Specified by:
      getSerializedSize in interface org.apache.hadoop.hbase.ExtendedCell
    • getTagsArray

      public byte[] getTagsArray()
      Specified by:
      getTagsArray in interface org.apache.hadoop.hbase.RawCell
    • getTagsOffset

      public int getTagsOffset()
      Specified by:
      getTagsOffset in interface org.apache.hadoop.hbase.RawCell
    • getSequenceId

      public long getSequenceId()
      Specified by:
      getSequenceId in interface org.apache.hadoop.hbase.ExtendedCell
    • getTagsLength

      public int getTagsLength()
      Specified by:
      getTagsLength in interface org.apache.hadoop.hbase.RawCell
    • heapSize

      public long heapSize()
      Specified by:
      heapSize in interface org.apache.hadoop.hbase.io.HeapSize
    • setSequenceId

      public void setSequenceId(long seqId) throws IOException
      Specified by:
      setSequenceId in interface org.apache.hadoop.hbase.ExtendedCell
      Throws:
      IOException
    • setTimestamp

      public void setTimestamp(long ts) throws IOException
      Specified by:
      setTimestamp in interface org.apache.hadoop.hbase.ExtendedCell
      Throws:
      IOException
    • setTimestamp

      public void setTimestamp(byte[] ts) throws IOException
      Specified by:
      setTimestamp in interface org.apache.hadoop.hbase.ExtendedCell
      Throws:
      IOException