Class HBaseTestingUtil.SeenRowTracker

java.lang.Object
org.apache.hadoop.hbase.HBaseTestingUtil.SeenRowTracker
Enclosing class:
HBaseTestingUtil

public static class HBaseTestingUtil.SeenRowTracker extends Object
A tracker for tracking and validating table rows generated with HBaseTestingUtil.loadTable(Table, byte[])
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
     
    (package private) int[][][]
     
    (package private) byte[]
     
    (package private) byte[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SeenRowTracker(byte[] startRow, byte[] stopRow)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addRow(byte[] row)
     
    (package private) int
    i(byte b)
     
    (package private) void
     
    void
    Validate that all the rows between startRow and stopRow are seen exactly once, and all other rows none

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SeenRowTracker

      public SeenRowTracker(byte[] startRow, byte[] stopRow)
  • Method Details

    • reset

      void reset()
    • i

      int i(byte b)
    • addRow

      public void addRow(byte[] row)
    • validate

      public void validate()
      Validate that all the rows between startRow and stopRow are seen exactly once, and all other rows none