Class PrivateCellUtil.FirstOnRowDeleteFamilyCell

java.lang.Object
org.apache.hadoop.hbase.PrivateCellUtil.EmptyCell
org.apache.hadoop.hbase.PrivateCellUtil.FirstOnRowDeleteFamilyCell
All Implemented Interfaces:
Cell, ExtendedCell, HeapSize, RawCell
Enclosing class:
PrivateCellUtil

  • Field Details

    • FIXED_OVERHEAD

      private static final int FIXED_OVERHEAD
    • row

      private final byte[] row
    • fam

      private final byte[] fam
  • Constructor Details

  • Method Details

    • heapSize

      public long heapSize()
      Description copied from interface: HeapSize
      Return the approximate 'exclusive deep size' of implementing object. Includes count of payload and hosting object sizings.
    • getRowArray

      public byte[] getRowArray()
      Description copied from interface: Cell
      Contiguous raw bytes that may start at any index in the containing array. Max length is Short.MAX_VALUE which is 32,767 bytes.
      Specified by:
      getRowArray in interface Cell
      Overrides:
      getRowArray in class PrivateCellUtil.EmptyCell
      Returns:
      The array containing the row bytes.
    • getRowLength

      public short getRowLength()
      Description copied from interface: Cell
      Returns Number of row bytes. Must be < rowArray.length - offset.
      Specified by:
      getRowLength in interface Cell
      Overrides:
      getRowLength in class PrivateCellUtil.EmptyCell
    • getFamilyArray

      public byte[] getFamilyArray()
      Description copied from interface: Cell
      Contiguous bytes composed of legal HDFS filename characters which may start at any index in the containing array. Max length is Byte.MAX_VALUE, which is 127 bytes.
      Specified by:
      getFamilyArray in interface Cell
      Overrides:
      getFamilyArray in class PrivateCellUtil.EmptyCell
      Returns:
      the array containing the family bytes.
    • getFamilyLength

      public byte getFamilyLength()
      Description copied from interface: Cell
      Returns Number of family bytes. Must be < familyArray.length - offset.
      Specified by:
      getFamilyLength in interface Cell
      Overrides:
      getFamilyLength in class PrivateCellUtil.EmptyCell
    • getTimestamp

      public long getTimestamp()
      Description copied from interface: Cell
      Return a long value representing time at which this cell was "Put" into the row. Typically represents the time of insertion, but can be any value from 0 to Long.MAX_VALUE.
    • getTypeByte

      public byte getTypeByte()
      Description copied from interface: ExtendedCell
      Returns The byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etc
    • getType

      public Cell.Type getType()
      Description copied from interface: ExtendedCell
      Typically, at server side, you'd better always use the ExtendedCell.getTypeByte() as this method does not expose the Maximum and Minimum because they will not be returned to client, but at server side, we do have cells with these types so if you use this method it will cause exceptions.
      Returns:
      The data type this cell: one of Put, Delete, etc