Class TestRegionSplitCalculator.SimpleRange

java.lang.Object
org.apache.hadoop.hbase.util.TestRegionSplitCalculator.SimpleRange
All Implemented Interfaces:
org.apache.hadoop.hbase.util.KeyRange
Enclosing class:
TestRegionSplitCalculator

static class TestRegionSplitCalculator.SimpleRange extends Object implements org.apache.hadoop.hbase.util.KeyRange
This is range uses a user specified start and end keys. It also has an extra tiebreaker so that different ranges with the same start/end key pair count as different regions.
  • Field Details

  • Constructor Details

  • Method Details

    • getStartKey

      public byte[] getStartKey()
      Specified by:
      getStartKey in interface org.apache.hadoop.hbase.util.KeyRange
    • getEndKey

      public byte[] getEndKey()
      Specified by:
      getEndKey in interface org.apache.hadoop.hbase.util.KeyRange
    • toString

      public String toString()
      Overrides:
      toString in class Object